/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package qlvbdq.objects;

/**
 *
 * @author tuan hoang
 */
public class Person {
    private String _Name;
    private int _Year;//nam sinh

    public void setName(String _Name) {
        this._Name = _Name;
    }

    public void setYear(int _Year) {
        this._Year = _Year;
    }

    public String getName() {
        return _Name;
    }

    public int getYear() {
        return _Year;
    }
    
    public Person(String name, int year){
        this._Name = name;
        this._Year = year;
    }
    
    public Person(){
        this._Name = "";
        this._Year = 0;
    }        
}
